# -*- coding:utf-8 -*- 
#=====================================
#	Creater:15921315347@163.com
#	Create Time:2016-06-22 09:58:27
#	Description: 
#=====================================
import handler
from handler import api
from tornado.web import url,StaticFileHandler,RedirectHandler


routes = [
	url(r'/',handler.IndexHandler,dict(),name='app.home'),
	url(r'/api/book',api.BookHandler,dict(),name='api.book'),
	url(r"/public", RedirectHandler, {"url": "/public/"}),
	url(r"/public/(.*)", StaticFileHandler, {"path": "templates","default_filename":"index.html"}),
]
